package com.xcode.biz.service;

import com.xcode.biz.dto.UserDTO;

import java.util.List;

/**
 * @author liuziying
 * @Description 用户服务
 * @Date 2020/12/24
 */
public interface UserService {

    void saveUser(UserDTO userDTO) throws Exception;

    UserDTO getUserByCode(UserDTO userDTO);

    List<UserDTO> getUserList(String userCode,int age);
}
